package com.mego.tzadd.database.dbmodel;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;


@Entity
public class Jtinfo {

    @Id(autoincrement = true)
    private Long id;
    private String name = "";//机台名称
    private int money = 0;//目前幣量
    private int isonline = 0;////在线状态 0  1
    private int auto_switch = 0;//自动消保 1 開啟
    private Long jtid = 0L; //機台id
    private int order = 0;
    private int shunyi = 0;

    @Transient
    public boolean isQzxb = false;//正在强制消保

    @Generated(hash = 1411558270)
    public Jtinfo(Long id, String name, int money, int isonline, int auto_switch,
            Long jtid, int order, int shunyi) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.isonline = isonline;
        this.auto_switch = auto_switch;
        this.jtid = jtid;
        this.order = order;
        this.shunyi = shunyi;
    }

    @Generated(hash = 549612451)
    public Jtinfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMoney() {
        return this.money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getIsonline() {
        return this.isonline;
    }

    public void setIsonline(int isonline) {
        this.isonline = isonline;
    }

    public int getAuto_switch() {
        return this.auto_switch;
    }

    public void setAuto_switch(int auto_switch) {
        this.auto_switch = auto_switch;
    }

    public Long getJtid() {
        return this.jtid;
    }

    public void setJtid(Long jtid) {
        this.jtid = jtid;
    }

    public int getOrder() {
        return this.order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public int getShunyi() {
        return this.shunyi;
    }

    public void setShunyi(int shunyi) {
        this.shunyi = shunyi;
    }


}
